From: Jasper St. Pierre Date: Mon, 29 Aug 2011 21:41:10 +0000 (-0400) Subject: userMenu: Don't show the default avatar over a newly selected one X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7846 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=be4d504e27feeb0dbc4a17388fe03628989e4dcb;p=gnome-shell.git userMenu: Don't show the default avatar over a newly selected one When we replace the default avatar image with a real image, we need to remove the default avatar image. https://bugzilla.gnome.org/show_bug.cgi?id=657657 --- diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 8d71ce287..33c331511 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -226,6 +226,7 @@ IMStatusChooserItem.prototype = { _setIconFromFile: function(iconFile) { this._iconBin.set_style('background-image: url("' + iconFile + '");'); + this._iconBin.child = null; }, _setIconFromName: function(iconName) {